package com.jikangjun.disk.file.entity;

public class FileShareEntity {
    private String shareId;        // 共享ID
    private String fileId;         // 文件ID
    private String fromUserId;     // 分享者ID
    private String toUserId;       // 接收者ID
    private String permission;     // 权限(view/edit/admin)
    private FileEntity file;       // 关联的文件信息

    public String getShareId() {
        return shareId;
    }

    public void setShareId(String shareId) {
        this.shareId = shareId;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getFromUserId() {
        return fromUserId;
    }

    public void setFromUserId(String fromUserId) {
        this.fromUserId = fromUserId;
    }

    public String getToUserId() {
        return toUserId;
    }

    public void setToUserId(String toUserId) {
        this.toUserId = toUserId;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public FileEntity getFile() {
        return file;
    }

    public void setFile(FileEntity file) {
        this.file = file;
    }
}
